Skip to content

[Method Browser] Proposing to save changes for dirty methods#1383

Merged
Ducasse merged 4 commits intopharo-spec:Pharo14from
AlexisCnockaert:methodBrowser/discard-changes
Apr 23, 2026
Merged

[Method Browser] Proposing to save changes for dirty methods#1383
Ducasse merged 4 commits intopharo-spec:Pharo14from
AlexisCnockaert:methodBrowser/discard-changes

Conversation

@AlexisCnockaert
Copy link
Copy Markdown
Contributor

This code will work when all the SpCodePresenter stuff will be able to handle it, for now it don't understand when a method is dirty. I just prepared the ground.
However as Esteban said: "My intention is to create a meta-code-presenter (SpPharoEditorPresenter) that will handle all higher level stuff that can be modeled composing presenters", I will not propose a quick solution here, his idea is way better.
Since he has a prototype, I think we can wait.

Fixes #19553

This code will work when all the `SpCodePresenter` stuff will be able to handle it tho,  I just prepared the ground.
And as Esteban said: "My intention is to create a meta-code-presenter (SpPharoEditorPresenter) that will handle all higher level stuff that can be modeled composing presenters", I will not propose a quick solution, his idea is way better.
Since he has a prototype, I think we can wait.

Fixes #19553
@Ducasse
Copy link
Copy Markdown
Contributor

Ducasse commented Apr 15, 2026

Tx for the notice

@AlexisCnockaert
Copy link
Copy Markdown
Contributor Author

Now it works since the editor has been implemented !

@Ducasse Ducasse merged commit bd1884d into pharo-spec:Pharo14 Apr 23, 2026
0 of 2 checks passed
@AlexisCnockaert AlexisCnockaert deleted the methodBrowser/discard-changes branch April 23, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Closing method browser with edited code doesn't propose to save changes

2 participants